package com.tcm.logistics.service;

import com.tcm.logistics.entity.LogisticsWaybillItems;

import java.util.List;

public interface LogisticsWaybillItemService {
    /**
     * 删除
     * @param id
     * @return
     */
    int deleteByKey(Long id);

    /**
     * 逻辑删除
     * @param id
     * @return
     */
    int deleteLogicByKey(Long id);

    /**
     * 新增
     * @param record
     * @return
     */
    int create(LogisticsWaybillItems record);

    /**
     * 打印项
     * @param shopId
     * @return
     */
    List<LogisticsWaybillItems> listBillItemsByShop(Long shopId);

    /**
     * 更新
     * @param record
     * @return
     */
    int updateByKey(LogisticsWaybillItems record);
}
